package view.plugin
{
	import flash.display.Sprite;
	
	import flash3.framework.Singleton;

	public class MessageOut extends Sprite
	{
//		public var textArea:TextArea
		public function MessageOut()
		{
//			textArea = new TextArea();
//			textArea.width = 200;
//			textArea.height = 580;
//			addChild(textArea);
		}
		
		static public function get i():MessageOut
		{
			return Singleton.getInstanceOrCreate(MessageOut) as MessageOut;
		}
		
		public function show(visible:Boolean):void
		{
			this.visible = visible;
		}
		
		public function outMessage(message:String):void
		{
//			textArea.htmlText += message + "\n";
//			textArea.verticalScrollPosition = textArea.maxVerticalScrollPosition;
		}
	}
}